/*
* @Author: mikey.zhaopeng
* @Date:   2015-07-22 15:26:49
* @Last Modified by:   mikey.zhaopeng
* @Last Modified time: 2016-04-08 16:26:02
*/

.image-manage-container {}

.image-count {
    color: #fc7408;
}

#btn-create{
    margin-left: 8px;
}
#adimage-manager-page {
    margin: 20px 5px 20px;
    min-height: 800px;
    background-color: #fff;
    padding-right: 0;
    padding-left: 0;
    -webkit-box-shadow: 0 1px 5px 0 rgba(215, 215, 215, 1);
    -moz-box-shadow: 0 1px 5px 0 rgba(215, 215, 215, 1);
    box-shadow: 0 1px 5px 0 rgba(215, 215, 215, 1);
    font-family: Microsoft YaHei, serif, sans-serif;
}

.superbox .superbox-list {
    width: 14%;
}

.btn-gray {
    background-color: #6B6B6B;
    border-color: #6B6B6B;
}

.bg-gray {
    background-color: #e4e4e4;
}

.select2-container-active .select2-choice {
    border: 1px solid #ccc;
}

.popover table {
    margin-bottom: 0;
}

.popover table td {
    border: 0;
    min-width: 60px;
}

.popover .popover-content {
    padding: 0 !important
}

.upload-error-msg {
    border: 1px solid red;
}

.nav-tabs {
    border: 0;
}

.nav-tabs>li>a {
    border: 1px solid transparent;
}

.nav-tabs>li.active>a {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
}

.nav-tabs>li>a:hover {
    background-color: transparent;
    border: 1px solid transparent;
}

.modal-lg {
    width: 1000px;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: transparent;
}

#open-adimage-modal .popover-content .smart-form {
    padding: 15px;
}

#open-adimage-modal .popover-content .checkbox {
    line-height: 12px;
}

#open-adimage-modal .popover {
    min-width: 526px !important;
}

#upload-adimage-modal .file-input {
    overflow-x: hidden;
    overflow-y: hidden;
}

.file-thumbnail-footer .file-caption-name {
    padding-top: 4px;
    font-size: 11px;
    color: #777;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.btn.disabled {
    pointer-events: auto;
}

.location-magic {
    padding-top: 8px;
    padding-left: 0px;
}

.location-magic {
    padding-top: 8px;
    padding-left: 0px;
}

.has-error .form-control {
    border-color: #ccc;
}

.row-label {
    line-height: 32px;
    margin: 0px;
    font-size: 14px;
}

.thumbnail-div {
    cursor: pointer;
}

#carousel-row .thumbnail-div {
    padding: 4px;
    border: 1px solid #ccc;
}

#carousel-row .thumbnail-div {
    width: 100%;
    margin-bottom: 18px;
    margin-bottom: 18px;
}

#carousel-row .superbox-img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 100px;
    line-height: 100px;
    text-align: center;
}

.adimage-data {
    height: 70px;
}

.adimage-data .thumbnail-div img {
    width: 85px;
    height: 50px;
}

.adimage-data .thumbnail-div img:hover {
    border: 2px solid #fd9611;
}

.container-fluid .thumbnail {
    min-height: 200px;
    max-height: 500px;
    overflow-y: auto;
}

.modal-alert {
    margin-top: 5px;
    display: none;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 0px;
    left: 0px;
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: center;
    line-height: 40px;
    z-index: 9;
}

#open-adimage-modal .modal-body,
#upload-adimage-modal .modal-body {
    height: 450px;
    overflow-x: hidden;
    overflow-y: auto;
}


/*左右移动幻灯*/

#open-adimage-modal .slider-action {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    color: #e8e8e8;
    text-align: center;
    line-height: 120px;
    z-index: 9;
    opacity: 0.5;
    cursor: pointer;
}

#open-adimage-modal .slider-action.sa-left {
    left: -100px;
}

#open-adimage-modal .slider-action.sa-right {
    right: -100px;
}

#open-adimage-modal .slider-action:hover {
    color: #3276b1;
    opacity: 1;
}

#open-adimage-modal .slider-action i {
    font-size: 48px;
}

.c-white {
    background-color: #fff;
}


/***
**右侧有滚动条情况下，出现右移动问题
**/

body.modal-open {
    overflow: initial!important;
    padding-right: 0!important;
}

div.modal-dialog {
    border-radius: 0;
}

div.modal-content {
    border-radius: 0;
    background-color: #ececec;
}

.modal-header {
    height: 40px;
    background-color: white;
    padding: 0;
    padding-left: 20px;
}

div.modal-header h4 {
    margin: 0;
    padding: 0;
    height: 100%;
    line-height: 40px;
}

div.modal-header button.close {
    width: 40px;
    height: 100%;
}

div.modal-header button.close>span {
    font-size: 20px;
}

#upload-adimage-modal .modal-body {
    position: relative;
    width: 100%;
    min-height: 80px;
}

#upload-adimage-modal .modal-body label {
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

#upload-adimage-modal .modal-body input[type="text"] {
    position: relative;
    width: 50%;
    border: 1px solid #ccc;
    margin-left: 20px;
}

#upload-adimage-modal .modal-body .panel-heading {
    padding-top: 0;
}

#upload-adimage-modal .modal-footer {
    height: 50px;
    background-color: white;
}

#upload-adimage-modal .modal-footer>div.row {
    margin-top: -6px;
}

.btn-file {
    display: none;
}

#upload-area {
    margin-top: -8px;
    margin-left: -43px;
}

#upload-area .file-preview {
    height: 98%;
}

#upload-area .close.fileinput-remove {
    display: none;
}

#upload-area .file-preview,
#upload-area .file-drop-zone {
    border: 0;
}

#upload-area .file-drop-zone-title {
    font-family: "Microsoft YaHei";
    font-size: 24px;
    padding: 45px 10px;
}

#upload-area .glyphicon-picture:hover {
    cursor: pointer;
}

#upload-area .file-preview-frame {
    position: relative;
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 0;
    width: 150px;
    height: 100px;
}

#upload-area .file-preview-frame:hover {
    box-shadow: none;
    border: 1px solid #e56d43;
}

#upload-area .file-preview-frame.file-preview-error,
#upload-area .file-preview-frame.file-preview-error:hover {
    border: 1px solid #e56d34;
}

#upload-area .file-thumbnail-footer .kv-file-remove.close {
    border-radius: 21px;
    background: #e56d34;
    width: 21px;
    opacity: 1;
    color: #fff;
}

#upload-area .file-thumbnail-footer .kv-file-remove.close:hover {
    color: #ccc;
}

#upload-area .file-thumbnail-footer .kv-file-remove.close>span {
    font-size: 19px;
}

#upload-area .file-preview-frame .kv-file-remove {
    position: absolute;
    right: -10px;
    top: -10px;
    display: none;
}

#upload-area .file-preview-frame .kv-file-remove span {
    font-size: 16px;
}

#upload-area .file-preview-frame:hover .kv-file-remove {
    display: block;
}

#upload-area .file-preview-frame.add-image-btn {
    padding-top: 20px;
    width: 100px;
    color: #999;
    font-family: "Microsoft YaHei";
    font-size: 16px;
    border: 1px dashed #ccc;
}

#upload-area .file-preview-frame.add-image-btn .glyphicon-plus {
    font-size: 30px;
    padding-top: 10px;
}

#upload-area .file-preview-frame.add-image-btn .glyphicon-plus:hover {
    cursor: pointer;
}

#upload-area .file-preview-frame.add-image-btn:hover {
    border: 1px dashed #ccc;
}

#upload-area .kv-upload-progress {
    width: 858px;
    position: fixed;
    left: 1px;
    top: 40px;
    z-index: 9999;
}

#upload-area .kv-upload-progress .progress {
    height: 4px;
}

#upload-area .kv-fileinput-caption,
#upload-area .file-thumbnail-footer .file-caption-name,
#upload-area .file-thumbnail-footer .file-upload-indicator {
    display: none;
}

#upload-adimage-modal .modal-lg {
    width: 860px;
}

#upload-adimage-modal .container-content {
    width: 1000px;
    margin-top: 10px;
}

#upload-area .file-preview-error,
#upload-area .file-preview-error:hover {
    /*    border: 1px solid red;
    box-shadow: 2px 2px 5px red*/
    opacity: 1;
}

#upload-area .text-red {
    color: red;
}

#listArea .popover .popover-content {
    padding: 10px !important;
}


/**
 * 黄色背景
 */

.no-picture-upload .modal-body:hover {
    /*    background-color: #F7E599;
    cursor: pointer;*/
}

.select2-container .select2-choice {
    height: 35px;
}

.select2-container .select2-choice .select2-arrow {
    border-left: none;
    background: none;
}

.cycle-area {
    height: 40px;
    display: inline-block;
    text-align: left;
    padding-top: 5px;
}

.cycle-area div {
    float: left;
}

.cycle-area .title {
    margin-top: 10px;
}

.cycle-area .select2-choice {
    border: none;
    height: 25px;
    line-height: 25px;
}

.cycle-area .select2-container {
    margin-top: 4px;
}

.cycle-area .select2.select2-container {
    z-index: 99;
}

.cycle-area .select2-selection.select2-selection--single {
    border: 0;
}

.create-info a {
    padding-top: 0;
    cursor: pointer;
}

.create-info a.disabled {
    color: #5e5e5e;
    cursor: not-allowed;
}

.create-info a:hover {
    text-decoration: none;
}

.modal-body .container {
    width: 100%;
}

.modal-footer {
    background-color: #fff;
}

.select2-container .select2-choice .select2-arrow b {
    border-color: #888 transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    line-height: 32;
}

.btn-query {
    width: 80px;
    height: 35px;
    background-color: #c9c9c9;
    border-radius: 0px;
    border-color: #adadad;
}

.filter-area {
    padding: 15px 20px 20px 0;
    margin-top: 15px;
    border-top: 1px solid #ccc;
}

.filter-area>div.form-group {
    margin-left: -30px;
}


/*
.filter-area div{
    float:left;
}

.filter-area .pl2{
    padding-left:20px;
}
*/

.content-container {
    padding: 20px;
}

.btn-top {
    background-color: #6B6B6B;
    border-radius: 0px;
    color: white;
}

.adiamge-modal {
    max-width: 1140px;
}

.adiamge-row {}

.adiamge-row .adimage-right {
    float: right;
}

.adiamge-row .adimage-left {
    float: left;
    width: 240px;
}

.img-right .select2-search-choice {
    background-color: #E4E4E4;
    border: 0;
}

.img-right .select2-search-choice>div {
    color: #000;
}

.img-right .select2-search-choice-close {
    color: #333;
    background-color: transparent;
}

.img-right .select2-search-choice-close:hover {
    color: #ccc;
}

thead tr th {
    background-color: #F2F2F2;
}

tr .checkbox {
    min-height: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

th .th-warp {
    min-height: 34px;
}

label input[type=checkbox].checkbox+span {
    margin-right: 0px;
}

.active td {
    background-color: #ebebef;
}

.modal-slg {
    width: 1300px;
}

.btn-create-ad {
    background-color: #c9c9c9;
    color: #6a6a6a;
}

.modal-btn {
    width: 80px;
    height: 35px;
    background-color: #f2f2f2;
    border: 1px solid #e4e4e4;
    color: black;
    border-radius: 0;
}

.modal-btn-cancel {
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    color: #797979;
}

#upload-adimage-modal .modal-title {
    font-size: 14px;
}

#upload-adimage-modal .upload-icon {
    height: 40px;
    width: 100%;
}

#upload-adimage-modal .upload-button {
    width: 60px;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    color: #666;
    background: #f9f9f9;
    border: 1px solid #b9c3cd;
}


/*图片加载后的错误提醒*/

.file-preview-thumbnails .file-preview-frame.file-preview-error .file-preview-error-msg {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #000;
    opacity: 0.6;
    padding-top: 30px;
}

.file-preview-thumbnails .file-preview-frame.file-preview-error .icon-message {
    opacity: 1;
    color: #e56d34;
    font-size: 20px;
}

.file-preview-thumbnails .file-preview-frame.file-preview-error p {
    opacity: 1;
    color: #fff;
    font-size: 12px;
}



.table-warp table tr td {
    text-align: center;
}